

class SettingManager {

	public gameState:number = 0; // 0:结束 1：开始 2：暂停

	public stageScrollSpeed:number = 2; // 背景移动的速度

	public enemyCreateInterval = 2000; // 敌机制造的频率

	public heroBulletSpeed = 200; // 主角子弹速率
	public enemyBulletSpeed = 1200; // 敌机子弹速率

	public heroBulletMoveRate = 12; // 主角子弹移动的速率
	public enemyBulletMoveRate = 7; // 敌机子弹移动的速率

	public enemyFighterMoveRate = 2.5; // 敌机移动比例
	public enemyBirthY = 150; // 出生点范围
	
	

	private static _instance:SettingManager = null;

	public static shareManger():SettingManager {
		if (SettingManager._instance == null) {
			SettingManager._instance = new SettingManager();
		}
		return SettingManager._instance;
	}

	public constructor() {
		this.gameState = 0;
		this.stageScrollSpeed = 2;



	}


}